var oldIp = "10.0.0.72";
var newIp = "10.12.7.71";

var coll = db.getSiblingDB("ClientPlatform").ConnectionStrings;

coll.find().forEach(function(item){
    item.ClientDW = item.ClientDW.replace(oldIp, newIp);
    item.ClientUniverses = item.ClientUniverses.replace(oldIp, newIp);
    item.ScreeningDW = item.ScreeningDW.replace(oldIp, newIp);
    item.GovernanceDW = item.GovernanceDW.replace(oldIp, newIp);
    item.GovernanceCompanyReportPDF = item.GovernanceCompanyReportPDF.replace(oldIp, newIp);
    item.DWArchive = item.DWArchive.replace(oldIp, newIp);
    item.CompanyReportPDF = item.CompanyReportPDF.replace(oldIp, newIp);
    item.ControversyReportPDF = item.ControversyReportPDF.replace(oldIp, newIp);
    item.RiskRatingsResearchDW = item.RiskRatingsResearchDW.replace(oldIp, newIp);
    item.ProductInvolvementDW = item.ProductInvolvementDW.replace(oldIp, newIp);
    
    coll.save(item)
})